package cn.wenhaha.common.bean.dto.admin;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 *  修改密码
 * --------
 *
 * @author ：wyndem
 * @Date ：Created in 2022-03-26 17:24
 */
@Data
public class UserUpdatePwdDTO {


    @NotEmpty(message = "原密码为必填")
    private String oldPassword;

    @Size(min = 6, max = 18,message = "密码长度为6~18位")
    @NotEmpty(message = "密码不能为空")
    private  String pwd;



}
